import request from '@/utils/request'

// 查询最近成交列表
export function listSp_api_lastest_tradation_bak(query) {
  return request({
    url: '/sp_api_lastest_tradation/sp_api_lastest_tradation_bak/list',
    method: 'get',
    params: query
  })
}

// 查询最近成交详细
export function getSp_api_lastest_tradation_bak(id) {
  return request({
    url: '/sp_api_lastest_tradation/sp_api_lastest_tradation_bak/' + id,
    method: 'get'
  })
}

// 新增最近成交
export function addSp_api_lastest_tradation_bak(data) {
  return request({
    url: '/sp_api_lastest_tradation/sp_api_lastest_tradation_bak',
    method: 'post',
    data: data
  })
}

// 修改最近成交
export function updateSp_api_lastest_tradation_bak(data) {
  return request({
    url: '/sp_api_lastest_tradation/sp_api_lastest_tradation_bak',
    method: 'put',
    data: data
  })
}

// 删除最近成交
export function delSp_api_lastest_tradation_bak(id) {
  return request({
    url: '/sp_api_lastest_tradation/sp_api_lastest_tradation_bak/' + id,
    method: 'delete'
  })
}
